import { observable, makeObservable, action } from 'mobx';

class TabbarStore {
  tabbarShow = true;

  constructor() {
    makeObservable(this, {
      tabbarShow: observable,
      show: action,
      hide: action,
    });
  }

  show() {
    this.tabbarShow = true;
  }

  hide() {
    this.tabbarShow = false;
  }
}

export default TabbarStore;
